from django.http import HttpResponse
from django.shortcuts import reverse
# Create your views here.

def article(request):
    return HttpResponse("文章首页")


def article_list(request,categories):
    print("转化后的列表是:%s" % categories)
    print(reverse("list",kwargs={"categories":categories}))
    text = "您填写的分类是:%s" % categories
    return HttpResponse(text)
